package ldh.im.business.dao;


import ldh.im.business.pojo.Department;
import ldh.im.business.pojo.where.DepartmentWhere;

import java.util.List;

/**
* @author: ldh
* @date: 2021-06-06 10:17:42
*/
public interface DepartmentDao {

	Integer insert(Department department);

	Integer insertSelective(Department department);

	Integer updateById(Department department);
	
	Integer updateNotNullById(Department department);
	
	Integer deleteById(Long id);

	Department getById(Long id);

	List<Department> findByDepartmentWhere(DepartmentWhere departmentWhere);
	
	Long findTotalByDepartmentWhere(DepartmentWhere departmentWhere);
	
	
}
